package cn.hd.authorService.config;

import cn.hd.commonService.interceptor.FeignClientInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * created by dsl on 2022/8/8
 */
@Configuration
public class FeignConfig {

    @Bean//配置feign拦截器
    public FeignClientInterceptor feignClientInterceptor() {
        return new FeignClientInterceptor();
    }

}
